package com.sskj.one.bean;

import java.util.ArrayList;
import java.util.List;

public class PageBean<T> {
    private String count;
    private String p;
    private List<T> lists;

    public String getCount() {
        return count == null ? "" : count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getP() {
        return p == null ? "" : p;
    }

    public void setP(String p) {
        this.p = p;
    }

    public List<T> getLists() {
        if (lists == null) {
            return new ArrayList<>();
        }
        return lists;
    }

    public void setLists(List<T> lists) {
        this.lists = lists;
    }
}
